<!DOCTYPE html>
<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title></title>
    <link href="/styles/base.css" rel="stylesheet" type="text/css">
    <link href="/styles/regist.css" rel="stylesheet" type="text/css">
    <script type="text/javascript" src="/js/jquery/jquery.js"></script>
    <script type="text/javascript" src="/js/system/revise.js"></script>
    <script type="text/javascript" src="/js/plugins/jquery-validation/jquery.validate.min.js"></script>
    <script type="text/javascript" src="/js/plugins/jquery-form/jquery.form.js"></script>
    <script type="text/javascript" src="/js/system/common.js"></script>
    <script type="text/javascript">
        $(function () {
            $().ready(function () {
                // 在键盘按下并释放及提交后验证提交表单
                $("#editForm").validate({
                    rules: {
                        password: {
                            required: true,
                            minlength: 1
                        },
                        rpassword: {
                            required: true,
                            minlength: 1,
                            equalTo: "#password"
                        },
                        verifyCode: "required"
                    },
                    messages: {
                        password: {
                            required: "请输入密码",
                            minlength: "密码长度不能小于 1 个字母"
                        },
                        rpassword: {
                            required: "请输入密码",
                            minlength: "密码长度不能小于 1 个字母",
                            equalTo: "两次密码输入不一致"
                        },
                        verifyCode: "请输入验证码"
                    }
                });
            })
        })
    </script>
</head>

<body>
<div class="wrapper">
    <div class="container container-login">
        <a href="javascript:;" title="返回首页" class="logo">骡窝窝</a>
        <div class="signup-forms flip">
         
            <div class="signup-box">
                <div class="add-info">
                    <div class="hd">账号注册</div>
                    <form action="/mine/revisePassword" method="post" id="_j_signup_mobile_form">
                        <input type="hidden" name="phone" value="${userInfo.phone}">
                        <input type="hidden" name="id" value="${userInfo.id}">
                        <div class="form-field m-t-10">
                            验证码已经发送,请查收(${code})
                        </div>
                        <div class="form-field">
                            <input name="password" type="password" placeholder="您的密码" autocomplete="off" data-verification-name="密码" class="verification[required,minSize[8],maxSize[30],funcCall[checkPasswordStrong]]">
                            <div class="err-tip"></div>
                        </div>
                        <div class="form-field">
                            <input name="rpassword" type="password" placeholder="确认密码" autocomplete="off" data-verification-name="密码" class="verification[equals[password]]">
                            <div class="err-tip"></div>
                        </div>
                        <!-- <div class="form-field">
                             <div class="clearfix">
                                 <a href="#" class="vcode-send verify-code-send"><img data-src="/api.php/superCode" src="/api.php/superCode" /></a>
                                 <input name="code" type="text" placeholder="验证码" autocomplete="off"
                                        data-verification-name="验证码" class="vcode-input verification[required,funcCall[checkSuperCode]]">
                             </div>
                             <div class="err-tip clearfix"></div>
                                                      </div>-->
                        <div class="form-field">
                            <div class="clearfix">
                                <input name="code" type="text" placeholder="短信验证码" autocomplete="off" data-verification-name="短信验证码" class="verification[required]">
                            </div>
                            <div class="err-tip clearfix"></div>
                        </div>
                        <div class="submit-btn">
                            <button type="submit" id="submit">完成</button>
                        </div>
                    </form>
                </div>
            </div>
        </div>

    </div>
</div>
<div class="fullscreen-bg"
     style="background-image: url(https://images.mafengwo.net/images/signup/wallpaper/27.jpg);">
    <img src="https://images.mafengwo.net/images/signup/wallpaper/27.jpg" style="width: auto; height: 657px; margin-top: -213px;">
</div>
</body>
</html>